package com.bgrconsulting.stockorderentry.service.model;

import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class Message {
	@PrimaryKey
	private String accountId;
	
	@Persistent
	private String masterAccount;
	
	@Persistent
	private String msgDesc;
	
	@Persistent
	private String msgCode;
	
	public Message(String msgDesc, String msgCode) {
		this.msgDesc = msgDesc;
		this.msgCode = msgCode;
	}
	
	public Message() {
		
	}
	
	public void setMasterAccount(String masterAccount) {
		this.masterAccount = masterAccount;
	}
	
	public String getMasterAccount() {
		return this.masterAccount;
	}
	
	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}
	
	public String getAccountId() {
		return this.accountId;
	}
	
	public void setMsgDesc(String msgDesc) {
		this.msgDesc = msgDesc;
	}
	
	public String getMsgDesc() {
		return msgDesc;
	}
	
	public void setMsgCode(String msgCode) {
		this.msgCode = msgCode;
	}
	
	public String getMsgCode() {
		return msgCode;
	}

}
